package com.ywm.eduService;

import org.springframework.boot.SpringApplication;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;



@ComponentScan(basePackages = {"com.ywm"})//扫描swagger规则
@EnableDiscoveryClient//注册到nacos
@EnableFeignClients//服务调用
@SpringBootApplication
//@EnableSwagger2
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
